﻿#ifndef PWM30120_H
#define PWM30120_H
#include <QSerialPort>
#include "MCLampControl.h"
class PWM30120 : public MCLampControl
{
public:
    PWM30120();
    ~PWM30120();
    int value(int channel) override;
    bool setValue(int channel, int intensity) override;
    bool valueRange(int channel, int &min, int &max) override;
    bool setEnable(int channel, bool on) override;
private:
    QSerialPort * serialPort;
    int m_value[4];
};

#endif // PWM30120_H
